nav{
    border-bottom: 1px solid #000;
}
nav >h2{display: inline-block;}